﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.Controls;
using HYCreateDuct.Properties;

namespace HYCreateDuct.FormDuct
{
	public partial class FormAlign : HYBaseForm
	{
		public FormAlign()
		{
			this.InitializeComponent();
		}

		private void btn1_Click(object sender, EventArgs e)
		{
			this.nAlign = 1;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void btn2_Click(object sender, EventArgs e)
		{
			this.nAlign = 2;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void btn3_Click(object sender, EventArgs e)
		{
			this.nAlign = 3;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void btn4_Click(object sender, EventArgs e)
		{
			this.nAlign = 4;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void btn5_Click(object sender, EventArgs e)
		{
			this.nAlign = 5;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void btn6_Click(object sender, EventArgs e)
		{
			this.nAlign = 6;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void btn7_Click(object sender, EventArgs e)
		{
			this.nAlign = 7;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void btn8_Click(object sender, EventArgs e)
		{
			this.nAlign = 8;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void btn9_Click(object sender, EventArgs e)
		{
			this.nAlign = 9;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		public int nAlign;
	}
}
